package com.xinyan.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import com.xinyan.dto.SprayHostDTO;
import com.xinyan.pojo.SprayAdItem;
import com.xinyan.pojo.SprayHost;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 雾森主机表 服务类
 * </p>
 *
 * @author xzlf
 * @since 2024-03-21 23:29:03
 */
public interface ISprayHostService extends IService<SprayHost> {
    boolean addOne(SprayHost sprayHost);

    List<SprayHost> findAllHost(String phone);

    boolean addHost(List<SprayHost> hostList);

    boolean updateHost(SprayHost sprayHost);

    PageDTO<SprayHostDTO> findByPage(long current, long size, String phone);
}
